<template>
    <div>
        <button @click="showModal = true">Show Modal</button>
        <ModalShow v-show="showModal" @close="showModal = false">
            <!-- <div slot="header">
                <h3>这里是自定义标题</h3>
            </div>
            <div slot="body">
                <div>这里是自定义内容</div>
            </div>
            <div slot="footer">
                <div>尾部信息</div>
            </div> -->
        </ModalShow>
    </div>
</template>

<script>
import ModalShow from './components/ModalShow'
export default {
    data(){
        return {
            showModal:false
        }
    },
    components:{
        ModalShow
    }
}
</script>

<style>
</style>
